package com.cjy.common.bean;

/**
 * 键值对对象
 * 2013-12-21 上午9:41:00
 * @author hubery.niejinzhen
 */
public class NameValuePair
{
	private String	name;	// 名称
							
	private String	value;	// 值
	
	public NameValuePair()
	{
	}
	
	public NameValuePair(String name,String value)
	{
		this.name = name;
		this.value = value;
	}
	
	public String getName()
	{
		return name;
	}
	
	public String getValue()
	{
		return value;
	}
	
	public void setName(String name)
	{
		this.name = name;
	}
	
	public void setValue(String value)
	{
		this.value = value;
	}
	
	@Override
	public String toString()
	{
		return name;
	}
	
}
